def printParams(*params):
  print('输入的任意params为: ',params, ' ;; params的长度为:', len(params))

printParams('name', 18, [1,2,3])
# 输入的任意params为:  ('name', 18, [1, 2, 3])  ;; params的长度为: 3

printParams('abcdef')

# ----------------------------

def printParams2(*params):
  print(params[0])

printParams2('aaa', 19)
# aaa